<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="./Tpl/css/bootstrap.min.css">
	<style type="text/css">
		#zhengtijuz{
			width: 1100px;

			margin: 0 auto;
			margin-top: 100px;
		}
		.zhuti{
			margin: 0 auto;
			margin-top: 100px;
			width: 1470px;
			height: 300px;
		}
		body #zhutixia{
			margin: 0 auto;
	
			width: 900px;
			height: 100%;
			
		}
		.tex{
			width: 100%;
			height: 100%;
			margin-top: 20px;
		}
		.form-inline .tex .content{
			width: 100%;
			padding-top: 20px;
		}
		.alert-warning{
			margin: 0 auto;
			/* width: 500px;
			height: 50px; */
		}
	</style>
</head>
<body>

	<nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">留言板</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>
<div id="zhengtijuz">
   
    <div class="zhutixia">
    	<?php if(isset($error)) { ?>
      	<div class="alert alert-danger" role="alert"><?php }else{ ?>
      	<div class="alert alert-warning" role="alert">
      	<?php }?>
        	<strong>你好</strong><?php echo $info ?>,<?php echo $time ?>秒后跳转到主页 <?php echo $url ?>
      	</div>
      	<script type="text/javascript">
      		function run () {
      			location.replace('<?php echo $url ?>');
      		}
      		setTimeout(run, <?php echo $time*1000 ?>);
      		

      	</script>
    </div>
</div>	
</body>
</html>


<!-- <div class="alert alert-danger" role="alert">
        <strong>Oh snap!</strong> Change a few things up and try submitting again.
      </div>H
      
<div class="alert alert-success" role="alert">
        <strong>Well done!</strong> You successfully read this important alert message.
      </div>L -->